package com.zuipin.vo;

import java.util.ArrayList;
import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 
 *
 * @ClassName CategoryInfoVo
 * @author wangcongyi
 * @date 2017年4月18日 下午5:04:44
 */
@ApiModel(description = "品类信息Vo")
public class CategoryInfoVo {
	
	private Long					id;												// 品类ID
	
	private Long					parentId;										// 父ID
	
	private String					catName;										// 品类名称
	
	private Integer					catSeq;											// 品类排序
	private String					icoUrl;											// 图标Url
	private List<CategoryInfoVo>	children	= new ArrayList<CategoryInfoVo>();	// 子品类列表
	
	public CategoryInfoVo() {
		super();
	}
	
	@ApiModelProperty(value = " 品类ID")
	public Long getId() {
		return id;
	}
	
	public void setId(Long id) {
		this.id = id;
	}
	
	@ApiModelProperty(value = " 父ID")
	public Long getParentId() {
		return parentId;
	}
	
	public void setParentId(Long parentId) {
		this.parentId = parentId;
	}
	
	@ApiModelProperty(value = " 品类名称")
	public String getCatName() {
		return catName;
	}
	
	public void setCatName(String catName) {
		this.catName = catName;
	}
	
	@ApiModelProperty(value = " 品类排序")
	public Integer getCatSeq() {
		return catSeq;
	}
	
	public void setCatSeq(Integer catSeq) {
		this.catSeq = catSeq;
	}
	
	@ApiModelProperty(value = " 子品类列表")
	public List<CategoryInfoVo> getChildren() {
		return children;
	}
	
	public void setChildren(List<CategoryInfoVo> children) {
		this.children = children;
	}
	
	@ApiModelProperty(value = " 图标Url")
	public String getIcoUrl() {
		return icoUrl;
	}
	
	public void setIcoUrl(String icoUrl) {
		this.icoUrl = icoUrl;
	}
	
}